package com.caogt.user.userInfo.service;

import com.caogt.user.userInfo.entity.UserInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caogt
 * @since 2019-06-15
 */
public interface IUserInfoService {

    UserInfo getById(Long id);

    void save(UserInfo userInfo);

    boolean removeById(Long id);

    List<UserInfo> getUserByOrgId(Long orgId);

    boolean validatePassword(String loginName,String password);

    List<UserInfo> query(String name);
}
